package com.obsidian.service;

import org.hyperic.sigar.CpuInfo;
import org.hyperic.sigar.CpuPerc;
import org.hyperic.sigar.Mem;
import org.hyperic.sigar.SigarException;

public interface ISigarService {

    /**
     * 获取CpuInfo信息
     * @return
     */
    CpuInfo[] getCpuInfoList() throws SigarException;

    /**
     * 获取CpuPerc信息
     * @return
     */
    CpuPerc[] getCpuPercList() throws SigarException;

    /**
     * 获取内存信息
     * @return
     */
    Mem getMememory() throws SigarException;

}
